package cn.sourcespro.shiro.service;

import cn.sourcespro.shiro.crudparams.dto.AddUserDto;
import cn.sourcespro.shiro.entity.User;

/**
 * security
 *
 * @author zhanghaowei
 * @date 2018/7/13
 */
public interface UserService {

    User findByUsername(String username);

    void add(AddUserDto dto);

    User findById(Long userId);
}
